<?php
/* Smarty version 4.0.0-rc.0, created on 2021-11-06 13:20:20
  from 'D:\phpstudy_pro\WWW\templates\4-demo.html' */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '4.0.0-rc.0',
  'unifunc' => 'content_6186109417da15_80110840',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    '8cafeca263be21083af767079b50c23d45af95ae' => 
    array (
      0 => 'D:\\phpstudy_pro\\WWW\\templates\\4-demo.html',
      1 => 1636176018,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_6186109417da15_80110840 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_checkPlugins(array(0=>array('file'=>'D:\\phpstudy_pro\\WWW\\smarty\\plugins\\modifier.date_format.php','function'=>'smarty_modifier_date_format',),1=>array('file'=>'D:\\phpstudy_pro\\WWW\\smarty\\plugins\\modifier.cal.php','function'=>'smarty_modifier_cal',),));
?>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title></title>
</head>
<body>
转成大写:<?php echo mb_strtoupper('abc', 'UTF-8');?>
<br>
转成小写：<?php echo mb_strtolower('ABC', 'UTF-8');?>
<br>
默认值:<?php echo (($tmp = $_smarty_tpl->tpl_vars['add']->value ?? null)===null||$tmp==='' ? '地址不详' ?? null : $tmp);?>
<br>
去除标签:<?php echo preg_replace('!<[^>]*?>!', ' ', '<b>你好吗</b>');?>
<br>
实体转换：<?php echo htmlspecialchars('<b>你好吗</b>', ENT_QUOTES, 'UTF-8', true);?>
<br>
日期:<?php echo smarty_modifier_date_format(time(),'%Y-%m-%d %H:%M:%S');?>
<br>
多个管道连续使用:<?php echo mb_strtoupper(preg_replace('!<[^>]*?>!', ' ', '<b>boy</b>'), 'UTF-8');?>
<br>

自定义函数:<?php echo smarty_modifier_cal(20,10,6);?>

</body>
</html><?php }
}
